package com.hankol.newretail.bean

import android.annotation.SuppressLint
import com.baselibrary.base.BasicBean
import com.baselibrary.bean.SeckillActProductBean
import kotlinx.android.parcel.Parcelize

data class MallMenuBean(val name: String, val imgUrl: String)

@SuppressLint("ParcelCreator")
@Parcelize
data class MallTabBean(
    val cover: String,
        //0:1行2个，1:1行1个
    val displayFormat: Int,
    val id: Int,
    val name: String,
    val sort: Int,
    var isSelect: Boolean
) : BasicBean()

//商城首页-分类 商品列表
@SuppressLint("ParcelCreator")
@Parcelize
data class GoodListBean(
    val icon: String,
    val iconLong: String,
    val id: Int,
    val mallLabelDtoList: List<MallLabelBean>,
    val name: String,
    val score: Int,
    val showPrice: Int,
    val virtualPayPersonNum: Int,
    //hasVideos  0没有，1有
    val hasVideos: Int,
    //秒杀对象
    val seckillActProductDTO: SeckillActProductBean?=null
) : BasicBean()

//解析地址
@SuppressLint("ParcelCreator")
@Parcelize
data class AddressData(
    val id: String,
    val name: String
) : BasicBean()

//购物车数量
@SuppressLint("ParcelCreator")
@Parcelize
data class ShopCartNumData(
    val count: Int
) : BasicBean()

